package com.java.zhuiyun.api.image_file.service;

import com.java.zhuiyun.api.image_file.entity.ImageFile;
import com.java.zhuiyun.common.errorCode.CommonException;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface ImageFileService {
    String addImageFile(MultipartFile file);

    void getImageById(Integer id, HttpServletResponse response) throws CommonException;

    List<ImageFile> selectAll();
}
